package com.example.eureka_client.mapper;

import com.example.eureka_client.entity.AttentionQuestion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 用户关注问题关联表 Mapper 接口
 * </p>
 *
 * @author plj
 * @since 2022-04-17
 */
public interface AttentionQuestionMapper extends BaseMapper<AttentionQuestion> {
    List<AttentionQuestion> getAllQuestionId(String userId);
    boolean deleteById(String userId, String questionId);
    AttentionQuestion getByTwo(String userId, String questionId);
}
